package com.shop.storage.domain;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.shop.common.core.annotation.Excel;
import com.shop.common.core.web.domain.BaseEntity;

/**
 * 预警表对象 wms_forewarning
 *
 * @author czb
 * @date 2024-06-26
 */
public class WmsForewarning extends BaseEntity
        {
private static final long serialVersionUID = 1L;

/** 预警id */
private Long id;
/** 预警id */
private String skuName;

/** 商品库存id */
@Excel(name = "商品库存id")
private Long wareSkuId;

/** 状态（1.待采购 2.已发起请求 3. 待入库 4.已入库） */
@Excel(name = "状态", readConverterExp = "1=.待采购,2=.已发起请求,3=.,待=入库,4=.已入库")
private Long status;

public void setSkuName(String skuName){
    this.skuName = skuName;
}

public String getSkuName(){
    return skuName;
}
public void setId(Long id)
{
    this.id = id;
}

public Long getId()
{
    return id;
}
public void setWareSkuId(Long wareSkuId)
{
    this.wareSkuId = wareSkuId;
}

public Long getWareSkuId()
{
    return wareSkuId;
}
public void setStatus(Long status)
{
    this.status = status;
}

public Long getStatus()
{
    return status;
}

@Override
public String toString() {
    return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
        .append("id", getId())
        .append("wareSkuId", getWareSkuId())
        .append("status", getStatus())
            .toString();
}
}
